package com.zhangyusheng.easyecharts.component;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * TODO: 功能描述
 *
 * @author Michael zhang
 * @email zhangys_0217@sina.com
 * @since 2025年11月11日
 */
@Data
@Accessors(chain = true)
public class LabelRight implements Serializable {
    private static final long serialVersionUID = 2L;
    private String position;

    public static class Builder{
        private String position;

        public Builder position(String position){
            this.position = position;
            return this;
        }
        public LabelRight build(){
            return new LabelRight(this);
        }
    }
    private LabelRight(Builder builder){
        this.position = builder.position;
    }

}